<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>实验室备案申请</title>
<%@ include file="/common/extjs.jsp"%>
<script type="text/javascript">
	$(document).ready(
			function() {
				$("#inputForm").validate({
					event : "blur",
					isTip : true
				});
				var date = new Date();
				$.get(
						"${ctx}/business/history/history!info.action?key=${id}&time="
								+ date, function(data) {
							$("#frame").html(data);
						});
				$("#usern").click(function() {
					UserNameSelector.getView(function(a, c) {
						$("#usern").val(c);
						$("#value").val(a);
					}, true).show();
				});
			});
	function close() {
		$.window.closeAll();
	}
</script>
</head>
<body>
	<form
		action="${ctx}/business/labs!save.action?projectId=${param.projectId}&fid=${id}"
		class="yform" id="inputForm" method="post">
			<div id="caption">
			<h6>审核记录</h6>
		</div>
		<div id="frame"></div>
		<div id="caption">
			<h6>实验室授权申请-经办人审核</h6>
		</div>
		<input type="hidden" name="id" id="id" value="${id }"> <input
			type="hidden" name="taskid" id="taskid" value="${taskid }"> <input
			type="hidden" name="status" id="status" value="06">
			<input type="hidden" name="key" id="key" value="credit">
		<div>
			<table class="noborder">
				<tr>
					<td width="80">备案人员</td>
						<td><input type="text" id="usern" name="user.name"
						size="40" class="required choose" readonly="readonly"/> <input
						type="hidden" name="value" id="value">
					</td>
				</tr>
				<tr class="type-text">
					<td width="80">检查意见</td>
					<td><textarea name="view" rows="3"></textarea>
					</td>
				</tr>
			</table>
		</div>
		<div class="type-button">
			<input type="submit" name="submit" value="提交"
				onclick="return isProcess();" /> 
		<a
				href="javascript:showWindow('查看申请书资料','${ctx}/business/labs/petition!input.action?projectId=${projectId}&fid=${id}&decorator=open&confirm=true')">查看申请书</a>
		<a
				href="javascript:showWindow('查看申请授权资料','${ctx}/business/labs/authorization!info.action?projectId=${projectId}&fid=${id}&decorator=open&confirm=true')">查看授权申请书</a>
		</div>
	</form>
</body>
</html>